/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.foxinline.entidades.gtm;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 *
 * @author roniere
 */
@Entity
@Table(name = "LOGRADOURO")
public class Logradouro implements Serializable {

    @Id
    @SequenceGenerator(sequenceName = "seq_logradouro", name = "seq_logradouro", allocationSize = 1)
    @GeneratedValue(generator = "seq_logradouro", strategy = GenerationType.SEQUENCE)
    @Column(name = "CODIGO_LOGRADOURO")
    Integer id;
    @Column(name = "NOME_LOGRADOURO")
    String nomeLogradouro;
    @Column(name = "COMPLEMENTO")
    String complemento;
    @Column(name = "CEP")
    String cep;

    public String getCep() {
        return cep;
    }

    public void setCep(String cep) {
        this.cep = cep;
    }

    public String getComplemento() {
        return complemento;
    }

    public void setComplemento(String complemento) {
        this.complemento = complemento;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNomeLogradouro() {
        return nomeLogradouro;
    }

    public void setNomeLogradouro(String nomeLogradouro) {
        this.nomeLogradouro = nomeLogradouro;
    }
    
    
}
